Most effective work habit for coding? [on hold]

Posted by Cris on Programmers See other posts from Programmers or by Cris
Published on 2014-08-24T20:46:15Z Indexed on 2014/08/25 4:31 UTC
Read the original article Hit count: 304

Working on a big solo project (~15,000 LOC), I am encountering the following phenomenon:

I seem to work best when I program in short bursts of 10-15 minutes.

Right now I am working on a section which is a complete first time for me architecturally and if I have any architectural issues that emerge when doing the implementation, I seem to be able to best serve these by taking a total break. Then, later, sketching out the ideas on some paper. And when I feel I have sufficient clarity, then going back to code. This iterates until that architectural issue for that section is resolved.

This seems quite counter intuitive: that I can progress more quickly by coding less, and taking more breaks.

I am nearing the end of the sections which are "first times" for me, and about to dive into stuff which I am much more familiar and am wondering if this counter intuitive efficiency will continue. So my question is: even for regular coding of sections one is familiar with, which don't require constant re-clarification of the best architecture, is more progress to be attained by taking more breaks and coding in bursts?

© Programmers or respective owner

Related posts about work-environment

Related posts about code-metrics